from PyQt5 import QtWidgets
from PyQt5 import QtCore,QtGui

class MyQComboBox(QtWidgets.QComboBox):
    mousepress = QtCore.pyqtSignal()
    def mousePressEvent(self, e: QtGui.QMouseEvent) -> None:
        self.mousepress.emit()
        return super().mousePressEvent(e)